﻿<Application x:Class="GeniusTetris.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    StartupUri="MainFrm.xaml"
    xmlns:pgo="clr-namespace:GeniusTetris"
    >
  <Application.Resources >
    <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Resources/MenuStyle.xaml"/>
      </ResourceDictionary.MergedDictionaries>
      <pgo:NumberToCharacterConverter x:Key="NumberToText"/>
      <pgo:NumberToVisibilityConverter x:Key="NumberToVisibility"/>
      <DrawingBrush x:Key="Block1" Viewport="0,0,1,1" TileMode="Tile">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <DrawingGroup>
              <GeometryDrawing Brush="Blue" x:Name="couleur">
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="100,100"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="0,0" RadiusX="1.5" RadiusY="1.5" GradientOrigin="0,0">
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="20,20"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="1,1" RadiusX="2" RadiusY="2" GradientOrigin="1,1">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="White" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="100,0">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                      <LineSegment Point="100,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <LinearGradientBrush>
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </LinearGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="20,20">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="White" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="0,0" EndPoint="20,20"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="Gray" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="80,80" EndPoint="100,100"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Block2" Viewport="0,0,1,1" TileMode="Tile">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <DrawingGroup>
              <GeometryDrawing Brush="Green" x:Name="couleur">
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="100,100"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="0,0" RadiusX="1.5" RadiusY="1.5" GradientOrigin="0,0">
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="20,20"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="1,1" RadiusX="2" RadiusY="2" GradientOrigin="1,1">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="White" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="100,0">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                      <LineSegment Point="100,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <LinearGradientBrush>
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </LinearGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="20,20">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="White" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="0,0" EndPoint="20,20"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="Gray" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="80,80" EndPoint="100,100"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Block3" Viewport="0,0,1,1" TileMode="Tile">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <DrawingGroup>
              <GeometryDrawing Brush="Violet" x:Name="couleur">
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="100,100"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="0,0" RadiusX="1.5" RadiusY="1.5" GradientOrigin="0,0">
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="20,20"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="1,1" RadiusX="2" RadiusY="2" GradientOrigin="1,1">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="White" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="100,0">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                      <LineSegment Point="100,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <LinearGradientBrush>
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </LinearGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="20,20">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="White" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="0,0" EndPoint="20,20"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="Gray" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="80,80" EndPoint="100,100"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Block4" Viewport="0,0,1,1" TileMode="Tile">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <DrawingGroup>
              <GeometryDrawing Brush="Red" x:Name="couleur">
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="100,100"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="0,0" RadiusX="1.5" RadiusY="1.5" GradientOrigin="0,0">
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="20,20"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="1,1" RadiusX="2" RadiusY="2" GradientOrigin="1,1">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="White" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="100,0">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                      <LineSegment Point="100,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <LinearGradientBrush>
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </LinearGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="20,20">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="White" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="0,0" EndPoint="20,20"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="Gray" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="80,80" EndPoint="100,100"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Block5" Viewport="0,0,1,1" TileMode="Tile">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <DrawingGroup>
              <GeometryDrawing Brush="LightGreen" x:Name="couleur">
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="100,100"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="0,0" RadiusX="1.5" RadiusY="1.5" GradientOrigin="0,0">
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="20,20"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="1,1" RadiusX="2" RadiusY="2" GradientOrigin="1,1">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="White" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="100,0">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                      <LineSegment Point="100,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <LinearGradientBrush>
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </LinearGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="20,20">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="White" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="0,0" EndPoint="20,20"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="Gray" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="80,80" EndPoint="100,100"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Block6" Viewport="0,0,1,1" TileMode="Tile">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <DrawingGroup>
              <GeometryDrawing Brush="Yellow" x:Name="couleur">
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="100,100"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="0,0" RadiusX="1.5" RadiusY="1.5" GradientOrigin="0,0">
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="20,20"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="1,1" RadiusX="2" RadiusY="2" GradientOrigin="1,1">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="White" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="100,0">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                      <LineSegment Point="100,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <LinearGradientBrush>
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </LinearGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="20,20">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="White" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="0,0" EndPoint="20,20"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="Gray" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="80,80" EndPoint="100,100"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Block7" Viewport="0,0,1,1" TileMode="Tile">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <DrawingGroup>
              <GeometryDrawing Brush="Orange" x:Name="couleur">
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="100,100"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="0,0" RadiusX="1.5" RadiusY="1.5" GradientOrigin="0,0">
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="20,20"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="1,1" RadiusX="2" RadiusY="2" GradientOrigin="1,1">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="White" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="100,0">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                      <LineSegment Point="100,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <LinearGradientBrush>
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </LinearGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="20,20">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="White" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="0,0" EndPoint="20,20"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="Gray" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="80,80" EndPoint="100,100"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Block8" Viewport="0,0,1,1" TileMode="Tile">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <DrawingGroup>
              <GeometryDrawing Brush="LightYellow" x:Name="couleur">
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="100,100"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="0,0" RadiusX="1.5" RadiusY="1.5" GradientOrigin="0,0">
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="20,20"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="1,1" RadiusX="2" RadiusY="2" GradientOrigin="1,1">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="White" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="100,0">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                      <LineSegment Point="100,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <LinearGradientBrush>
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </LinearGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="20,20">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="White" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="0,0" EndPoint="20,20"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="Gray" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="80,80" EndPoint="100,100"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Block9" Viewport="0,0,1,1" TileMode="Tile">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <DrawingGroup>
              <GeometryDrawing Brush="Beige" x:Name="couleur">
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="100,100"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="0,0" RadiusX="1.5" RadiusY="1.5" GradientOrigin="0,0">
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="20,20"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="1,1" RadiusX="2" RadiusY="2" GradientOrigin="1,1">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="White" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="100,0">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                      <LineSegment Point="100,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <LinearGradientBrush>
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </LinearGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="20,20">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="White" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="0,0" EndPoint="20,20"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="Gray" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="80,80" EndPoint="100,100"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="chor">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <GeometryDrawing Geometry="F1 M 262.568,265.575C 214.478,239.611 196.9,178.911 223.308,129.998C 249.716,81.0853 310.109,62.4817 358.2,88.4458C 406.291,114.41 423.868,175.11 397.46,224.022C 371.052,272.935 310.659,291.539 262.568,265.575 Z ">
              <GeometryDrawing.Brush>
                <!-- BlackToWhite -->
                <RadialGradientBrush RadiusX="1.14561" RadiusY="1.15044" Center="1.00509,0.770168" GradientOrigin="1.00509,0.770168">
                  <RadialGradientBrush.GradientStops>
                    <GradientStop Color="#FF000000" Offset="0"/>
                    <GradientStop Color="#FFFFFFFF" Offset="1"/>
                  </RadialGradientBrush.GradientStops>
                  <!--<RadialGradientBrush.RelativeTransform>
									<TransformGroup>
										<SkewTransform CenterX="1.00509" CenterY="0.770168" AngleX="-0.445975" AngleY="0"/>
										<RotateTransform CenterX="1.00509" CenterY="0.770168" Angle="208.142"/>
									</TransformGroup>
								</RadialGradientBrush.RelativeTransform>-->
                </RadialGradientBrush>
              </GeometryDrawing.Brush>
            </GeometryDrawing>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>

      <DrawingBrush x:Key="Option_a">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <DrawingGroup>
              <GeometryDrawing Brush="Gray" x:Name="couleur">
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="100,100"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="0,0" RadiusX="1.5" RadiusY="1.5" GradientOrigin="0,0">
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                      <LineSegment Point="100,0"/>
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="20,20"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <RadialGradientBrush Center="1,1" RadiusX="2" RadiusY="2" GradientOrigin="1,1">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="White" Offset="1"/>
                  </RadialGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="100,0">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                      <LineSegment Point="0,100"/>
                      <LineSegment Point="100,100"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Brush>
                  <LinearGradientBrush>
                    <GradientStop Color="White" Offset="0"/>
                    <GradientStop Color="Black" Offset="1"/>
                  </LinearGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                  <PathGeometry>
                    <PathFigure IsClosed="True" IsFilled="True" StartPoint="20,20">
                      <LineSegment Point="80,20"/>
                      <LineSegment Point="80,80"/>
                      <LineSegment Point="20,80"/>
                    </PathFigure>
                  </PathGeometry>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <DrawingGroup Opacity="0.5">
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="White" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="0,0" EndPoint="20,20"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
              <GeometryDrawing>
                <GeometryDrawing.Pen>
                  <Pen Brush="Gray" Thickness="1"/>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Geometry>
                  <LineGeometry StartPoint="80,80" EndPoint="100,100"/>
                </GeometryDrawing.Geometry>
              </GeometryDrawing>
            </DrawingGroup>
            <GeometryDrawing Brush="#FF000000" Geometry="F1 M 19.4063,22.9297C 17.8438,24.2578 16.3398,25.1952 14.8945,25.7422C 13.4492,26.2891 11.8984,26.5625 10.2422,26.5625C 7.50786,26.5625 5.4063,25.8945 3.93755,24.5586C 2.4688,23.2227 1.73443,21.5156 1.73443,19.4375C 1.73443,18.2188 2.01177,17.1055 2.56645,16.0977C 3.12112,15.0898 3.84768,14.2813 4.74611,13.6719C 5.64454,13.0625 6.65625,12.6016 7.78125,12.2891C 8.60939,12.0703 9.85939,11.8594 11.5313,11.6563C 14.9375,11.25 17.4454,10.7655 19.0547,10.203C 19.0704,9.625 19.0782,9.25781 19.0782,9.10156C 19.0782,7.38281 18.6797,6.17188 17.8828,5.46875C 16.8047,4.51563 15.2032,4.03906 13.0782,4.03906C 11.0938,4.03906 9.62889,4.38672 8.68361,5.08203C 7.73832,5.77734 7.03911,7.00781 6.58596,8.77344L 2.46096,8.21094C 2.83596,6.44531 3.45314,5.01953 4.3125,3.93359C 5.17186,2.84766 6.41404,2.01172 8.03904,1.42578C 9.66404,0.839844 11.5469,0.546753 13.6875,0.546753C 15.8125,0.546753 17.5391,0.796753 18.8672,1.29675C 20.1954,1.79675 21.1719,2.42566 21.7969,3.18359C 22.4219,3.94141 22.8594,4.89844 23.1094,6.05469C 23.25,6.77344 23.3203,8.07031 23.3203,9.94531L 23.3203,15.5703C 23.3203,19.4921 23.4101,21.9725 23.5899,23.0117C 23.7696,24.0508 24.125,25.0469 24.6563,26L 20.25,26C 19.8125,25.125 19.5313,24.1016 19.4063,22.9297 Z M 19.0547,13.5078C 17.5234,14.1328 15.2265,14.6641 12.164,15.1016C 10.4297,15.3516 9.20313,15.6328 8.48438,15.9453C 7.76563,16.2578 7.21095,16.7148 6.82034,17.3164C 6.42973,17.918 6.23443,18.5859 6.23443,19.3203C 6.23443,20.4453 6.6602,21.3828 7.51173,22.1328C 8.36327,22.8828 9.60936,23.2578 11.25,23.2578C 12.875,23.2578 14.3203,22.9023 15.586,22.1914C 16.8516,21.4805 17.7813,20.5078 18.375,19.2734C 18.8281,18.3203 19.0547,16.9141 19.0547,15.0547L 19.0547,13.5078 Z "/>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Option_b">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <GeometryDrawing Brush="Gray" x:Name="couleur">
              <GeometryDrawing.Geometry>
                <PathGeometry>
                  <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                    <LineSegment Point="100,0"/>
                    <LineSegment Point="100,100"/>
                    <LineSegment Point="0,100"/>
                  </PathFigure>
                </PathGeometry>
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
            <GeometryDrawing Brush="#FF000000" Geometry="F1 M 201.055,184L 197.141,184L 197.141,149.641L 201.359,149.641L 201.359,161.898C 203.141,159.664 205.414,158.547 208.18,158.547C 209.711,158.547 211.16,158.855 212.527,159.473C 213.895,160.09 215.02,160.957 215.902,162.074C 216.785,163.191 217.477,164.539 217.977,166.117C 218.477,167.695 218.727,169.383 218.727,171.18C 218.727,175.445 217.672,178.742 215.563,181.07C 213.453,183.398 210.922,184.563 207.969,184.563C 205.031,184.563 202.727,183.336 201.055,180.883L 201.055,184 Z M 201.008,171.367C 201.008,174.352 201.414,176.508 202.227,177.836C 203.555,180.008 205.352,181.094 207.617,181.094C 209.461,181.094 211.055,180.293 212.398,178.691C 213.742,177.09 214.414,174.703 214.414,171.531C 214.414,168.281 213.77,165.883 212.48,164.336C 211.191,162.789 209.633,162.016 207.805,162.016C 205.961,162.016 204.367,162.816 203.023,164.418C 201.68,166.019 201.008,168.336 201.008,171.367 Z "/>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Option_c">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <GeometryDrawing Brush="Gray" x:Name="couleur">
              <GeometryDrawing.Geometry>
                <PathGeometry>
                  <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                    <LineSegment Point="100,0"/>
                    <LineSegment Point="100,100"/>
                    <LineSegment Point="0,100"/>
                  </PathFigure>
                </PathGeometry>
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
            <GeometryDrawing Brush="#FF000000" Geometry="F1 M 161.406,241.549L 165.555,242.089C 165.102,244.948 163.941,247.186 162.074,248.803C 160.207,250.421 157.914,251.229 155.195,251.229C 151.789,251.229 149.051,250.116 146.98,247.889C 144.91,245.663 143.875,242.471 143.875,238.315C 143.875,235.628 144.32,233.276 145.211,231.26C 146.102,229.245 147.457,227.733 149.277,226.725C 151.098,225.717 153.078,225.214 155.219,225.214C 157.922,225.214 160.133,225.897 161.852,227.264C 163.57,228.631 164.672,230.573 165.156,233.089L 161.055,233.721C 160.664,232.049 159.973,230.792 158.98,229.948C 157.988,229.104 156.789,228.682 155.383,228.682C 153.258,228.682 151.531,229.444 150.203,230.967C 148.875,232.491 148.211,234.901 148.211,238.198C 148.211,241.542 148.852,243.971 150.133,245.487C 151.414,247.003 153.086,247.76 155.148,247.76C 156.805,247.76 158.187,247.253 159.297,246.237C 160.406,245.221 161.109,243.659 161.406,241.549 Z "/>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Option_e">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <GeometryDrawing Brush="Gray" x:Name="couleur">
              <GeometryDrawing.Geometry>
                <PathGeometry>
                  <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                    <LineSegment Point="100,0"/>
                    <LineSegment Point="100,100"/>
                    <LineSegment Point="0,100"/>
                  </PathFigure>
                </PathGeometry>
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
            <GeometryDrawing Brush="#FF000000" Geometry="F1 M 255.537,338.651L 259.896,339.19C 259.208,341.737 257.935,343.714 256.076,345.12C 254.216,346.526 251.841,347.229 248.951,347.229C 245.31,347.229 242.423,346.108 240.29,343.866C 238.158,341.624 237.091,338.479 237.091,334.432C 237.091,330.245 238.169,326.995 240.326,324.682C 242.482,322.37 245.279,321.213 248.716,321.213C 252.044,321.213 254.763,322.346 256.872,324.612C 258.982,326.878 260.037,330.065 260.037,334.174C 260.037,334.424 260.029,334.799 260.013,335.299L 241.451,335.299C 241.607,338.034 242.38,340.128 243.771,341.581C 245.161,343.034 246.896,343.76 248.974,343.76C 250.521,343.76 251.841,343.354 252.935,342.542C 254.029,341.729 254.896,340.432 255.537,338.651 Z M 241.685,331.831L 255.583,331.831C 255.396,329.737 254.865,328.167 253.99,327.12C 252.646,325.495 250.904,324.682 248.763,324.682C 246.826,324.682 245.197,325.331 243.876,326.628C 242.556,327.924 241.826,329.659 241.685,331.831 Z "/>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Option_o">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <GeometryDrawing Brush="Gray" x:Name="couleur">
              <GeometryDrawing.Geometry>
                <PathGeometry>
                  <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                    <LineSegment Point="100,0"/>
                    <LineSegment Point="100,100"/>
                    <LineSegment Point="0,100"/>
                  </PathFigure>
                </PathGeometry>
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
            <GeometryDrawing Brush="#FF000000" Geometry="F1 M 420.927,111.555C 420.927,106.945 422.208,103.531 424.771,101.313C 426.911,99.4688 429.521,98.5468 432.599,98.5468C 436.021,98.5468 438.818,99.668 440.99,101.91C 443.161,104.152 444.247,107.25 444.247,111.203C 444.247,114.406 443.767,116.926 442.806,118.762C 441.845,120.598 440.447,122.023 438.611,123.039C 436.775,124.055 434.771,124.563 432.599,124.563C 429.115,124.563 426.298,123.445 424.15,121.211C 422.001,118.977 420.927,115.758 420.927,111.555 Z M 425.263,111.555C 425.263,114.742 425.958,117.129 427.349,118.715C 428.74,120.301 430.49,121.094 432.599,121.094C 434.693,121.094 436.435,120.297 437.826,118.703C 439.216,117.109 439.911,114.68 439.911,111.414C 439.911,108.336 439.212,106.004 437.814,104.418C 436.415,102.832 434.677,102.039 432.599,102.039C 430.49,102.039 428.74,102.828 427.349,104.406C 425.958,105.984 425.263,108.367 425.263,111.555 Z "/>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Option_n">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <GeometryDrawing Brush="Gray" x:Name="couleur">
              <GeometryDrawing.Geometry>
                <PathGeometry>
                  <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                    <LineSegment Point="100,0"/>
                    <LineSegment Point="100,100"/>
                    <LineSegment Point="0,100"/>
                  </PathFigure>
                </PathGeometry>
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
            <GeometryDrawing Brush="#FF000000" Geometry="F1 M 419.831,212L 419.831,187.109L 423.628,187.109L 423.628,190.648C 425.456,187.914 428.096,186.547 431.549,186.547C 433.049,186.547 434.428,186.816 435.686,187.355C 436.944,187.894 437.885,188.602 438.51,189.477C 439.135,190.352 439.573,191.391 439.823,192.594C 439.979,193.375 440.057,194.742 440.057,196.695L 440.057,212L 435.839,212L 435.839,196.859C 435.839,195.141 435.675,193.855 435.346,193.004C 435.018,192.152 434.436,191.473 433.6,190.965C 432.764,190.457 431.784,190.203 430.659,190.203C 428.862,190.203 427.311,190.773 426.007,191.914C 424.702,193.055 424.049,195.219 424.049,198.406L 424.049,212L 419.831,212 Z "/>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Option_i">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <GeometryDrawing Brush="Gray" x:Name="couleur">
              <GeometryDrawing.Geometry>
                <PathGeometry>
                  <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                    <LineSegment Point="100,0"/>
                    <LineSegment Point="100,100"/>
                    <LineSegment Point="0,100"/>
                  </PathFigure>
                </PathGeometry>
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
            <GeometryDrawing Brush="#FF000000" Geometry="F1 M 513.188,257.159L 513.188,252.307L 517.406,252.307L 517.406,257.159L 513.188,257.159 Z M 513.188,286.667L 513.188,261.776L 517.406,261.776L 517.406,286.667L 513.188,286.667 Z "/>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Option_s">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <GeometryDrawing Brush="Gray" x:Name="couleur">
              <GeometryDrawing.Geometry>
                <PathGeometry>
                  <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                    <LineSegment Point="100,0"/>
                    <LineSegment Point="100,100"/>
                    <LineSegment Point="0,100"/>
                  </PathFigure>
                </PathGeometry>
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
            <GeometryDrawing Brush="#FF000000" Geometry="F1 M 638.143,121.904L 642.315,121.247C 642.549,122.919 643.202,124.2 644.272,125.091C 645.342,125.982 646.839,126.427 648.76,126.427C 650.698,126.427 652.135,126.033 653.073,125.243C 654.01,124.454 654.479,123.529 654.479,122.466C 654.479,121.513 654.065,120.763 653.237,120.216C 652.659,119.841 651.221,119.365 648.924,118.786C 645.831,118.005 643.686,117.329 642.491,116.759C 641.296,116.189 640.389,115.4 639.772,114.392C 639.155,113.384 638.846,112.271 638.846,111.052C 638.846,109.943 639.1,108.915 639.608,107.97C 640.116,107.025 640.807,106.24 641.682,105.615C 642.339,105.13 643.233,104.72 644.366,104.384C 645.499,104.048 646.714,103.88 648.01,103.88C 649.964,103.88 651.678,104.161 653.155,104.724C 654.632,105.286 655.721,106.048 656.424,107.009C 657.128,107.97 657.612,109.255 657.878,110.865L 653.753,111.427C 653.565,110.146 653.022,109.146 652.124,108.427C 651.225,107.708 649.956,107.349 648.315,107.349C 646.378,107.349 644.995,107.669 644.167,108.31C 643.339,108.951 642.924,109.701 642.924,110.56C 642.924,111.107 643.096,111.599 643.44,112.036C 643.784,112.49 644.323,112.865 645.057,113.161C 645.479,113.318 646.721,113.677 648.784,114.24C 651.768,115.036 653.85,115.689 655.03,116.197C 656.21,116.704 657.135,117.443 657.807,118.411C 658.479,119.38 658.815,120.583 658.815,122.021C 658.815,123.427 658.405,124.751 657.585,125.993C 656.764,127.236 655.581,128.197 654.034,128.876C 652.487,129.556 650.737,129.896 648.784,129.896C 645.549,129.896 643.085,129.224 641.389,127.88C 639.694,126.536 638.612,124.544 638.143,121.904 Z "/>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Option_q">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <GeometryDrawing Brush="Gray" x:Name="couleur">
              <GeometryDrawing.Geometry>
                <PathGeometry>
                  <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                    <LineSegment Point="100,0"/>
                    <LineSegment Point="100,100"/>
                    <LineSegment Point="0,100"/>
                  </PathFigure>
                </PathGeometry>
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
            <GeometryDrawing Brush="#FF000000" Geometry="F1 M 718.365,212.206L 718.365,200.018C 717.708,200.94 716.79,201.706 715.611,202.315C 714.431,202.924 713.177,203.229 711.849,203.229C 708.896,203.229 706.353,202.049 704.22,199.69C 702.087,197.331 701.021,194.096 701.021,189.987C 701.021,187.487 701.454,185.245 702.322,183.26C 703.189,181.276 704.447,179.772 706.095,178.749C 707.743,177.725 709.552,177.214 711.521,177.214C 714.599,177.214 717.021,178.51 718.787,181.104L 718.787,177.776L 722.583,177.776L 722.583,212.206L 718.365,212.206 Z M 705.357,190.151C 705.357,193.354 706.029,195.756 707.372,197.358C 708.716,198.96 710.326,199.76 712.201,199.76C 713.997,199.76 715.544,198.999 716.841,197.475C 718.138,195.952 718.787,193.635 718.787,190.526C 718.787,187.214 718.103,184.721 716.736,183.049C 715.368,181.378 713.763,180.542 711.919,180.542C 710.091,180.542 708.54,181.319 707.267,182.874C 705.993,184.428 705.357,186.854 705.357,190.151 Z "/>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Option_l">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <GeometryDrawing Brush="Gray" x:Name="couleur">
              <GeometryDrawing.Geometry>
                <PathGeometry>
                  <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                    <LineSegment Point="100,0"/>
                    <LineSegment Point="100,100"/>
                    <LineSegment Point="0,100"/>
                  </PathFigure>
                </PathGeometry>
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
            <GeometryDrawing Brush="#FF000000" Geometry="F1 M 687.737,320L 687.737,285.641L 691.956,285.641L 691.956,320L 687.737,320 Z "/>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key="Option_h">
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <GeometryDrawing Brush="Gray" x:Name="couleur">
              <GeometryDrawing.Geometry>
                <PathGeometry>
                  <PathFigure IsClosed="True" IsFilled="True" StartPoint="0,0">
                    <LineSegment Point="100,0"/>
                    <LineSegment Point="100,100"/>
                    <LineSegment Point="0,100"/>
                  </PathFigure>
                </PathGeometry>
              </GeometryDrawing.Geometry>
            </GeometryDrawing>
            <GeometryDrawing Brush="#FF000000" Geometry="F1 M 822.497,296L 822.497,271.109L 826.294,271.109L 826.294,274.648C 828.122,271.914 830.763,270.547 834.216,270.547C 835.716,270.547 837.095,270.816 838.353,271.355C 839.611,271.894 840.552,272.602 841.177,273.477C 841.802,274.352 842.24,275.391 842.49,276.594C 842.646,277.375 842.724,278.742 842.724,280.695L 842.724,296L 838.505,296L 838.505,280.859C 838.505,279.141 838.341,277.855 838.013,277.004C 837.685,276.152 837.103,275.473 836.267,274.965C 835.431,274.457 834.451,274.203 833.326,274.203C 831.529,274.203 829.978,274.773 828.673,275.914C 827.368,277.055 826.716,279.219 826.716,282.406L 826.716,296L 822.497,296 Z "/>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>
      <DrawingBrush x:Key='Croix'>
        <DrawingBrush.Drawing>
          <DrawingGroup>
            <DrawingGroup.Children>
              <GeometryDrawing Geometry='F1 M 37.5889,329.122L 188.7,480.233'>
                <GeometryDrawing.Pen>
                  <Pen Thickness='40' LineJoin='Round'>
                    <Pen.Brush>
                      <!-- Gray_Highlight -->
                      <LinearGradientBrush StartPoint='0.0697674,0.5' EndPoint='0.930232,0.5'>
                        <LinearGradientBrush.GradientStops>
                          <GradientStop Color='#FF854747' Offset='0'/>
                          <GradientStop Color='#FFD3D5D8' Offset='0.353516'/>
                          <GradientStop Color='#FF9D5353' Offset='1'/>
                        </LinearGradientBrush.GradientStops>
                      </LinearGradientBrush>
                    </Pen.Brush>
                  </Pen>
                </GeometryDrawing.Pen>
              </GeometryDrawing>

              <GeometryDrawing Geometry='F1 M 37.5889,480.233L 188.7,329.122'>
                <GeometryDrawing.Pen>
                  <Pen Thickness='40' LineJoin='Round'>
                    <Pen.Brush>
                      <!-- Gray_Highlight -->
                      <LinearGradientBrush StartPoint='0.0697674,0.5' EndPoint='0.930232,0.5'>
                        <LinearGradientBrush.GradientStops>
                          <GradientStop Color='#FF854747' Offset='0'/>
                          <GradientStop Color='#FFD3D5D8' Offset='0.353516'/>
                          <GradientStop Color='#FF9D5353' Offset='1'/>
                        </LinearGradientBrush.GradientStops>
                      </LinearGradientBrush>
                    </Pen.Brush>
                  </Pen>
                </GeometryDrawing.Pen>
                <GeometryDrawing.Brush>
                  <!-- black_transp -->
                  <LinearGradientBrush StartPoint='0.0697674,0.5' EndPoint='0.930232,0.5'>
                    <LinearGradientBrush.GradientStops>
                      <GradientStop Color='#00702323' Offset='0'/>
                      <GradientStop Color='#FF9C2626' Offset='1'/>
                    </LinearGradientBrush.GradientStops>
                  </LinearGradientBrush>
                </GeometryDrawing.Brush>
              </GeometryDrawing>

            </DrawingGroup.Children>
          </DrawingGroup>
        </DrawingBrush.Drawing>
      </DrawingBrush>


      <Style x:Key="AppCloseButtonStyle" TargetType="{x:Type Button}" BasedOn="{x:Null}">
        <Setter Property="Width" Value="14" />
        <Setter Property="Height" Value="14" />
        <Setter Property="Margin" Value="0,4,0,0" />
        <Setter Property="Template">
          <Setter.Value>
            <ControlTemplate TargetType="{x:Type Button}">
              <Grid RenderTransformOrigin="0.5,0.5">
                <Ellipse Opacity="1" x:Name="ClsBtnBase" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
                  <Ellipse.Fill>
                    <RadialGradientBrush>
                      <RadialGradientBrush.GradientStops>
                        <GradientStopCollection>
                          <GradientStop Color="#FF000000" Offset="1"/>
                          <GradientStop Color="#FF990000" Offset="0.8"/>
                          <GradientStop Color="#FF000000" Offset="0"/>
                        </GradientStopCollection>
                      </RadialGradientBrush.GradientStops>
                    </RadialGradientBrush>
                  </Ellipse.Fill>
                </Ellipse>
                <TextBlock FontSize="10" FontFamily="Trebuchet MS" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center" Width="Auto" Height="Auto" 
                           x:Name="CloseText" RenderTransformOrigin="0.5,0.5" Text="X" TextWrapping="Wrap" Foreground="Gray"/>
                <Ellipse Opacity="0.6" Canvas.Left="0" Canvas.Top="0" x:Name="ClsBtnHighlight" RenderTransformOrigin="0.5,0.5">
                  <Ellipse.Fill>
                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                      <LinearGradientBrush.GradientStops>
                        <GradientStopCollection>
                          <GradientStop Color="#AAFFFFFF" Offset="0"/>
                          <GradientStop Color="#11FFFFFF" Offset="1"/>
                        </GradientStopCollection>
                      </LinearGradientBrush.GradientStops>
                    </LinearGradientBrush>
                  </Ellipse.Fill>
                </Ellipse>
              </Grid>
              <ControlTemplate.Triggers>
                <Trigger Property="IsMouseOver" Value="true">
                  <Setter TargetName="ClsBtnBase" Property="Fill">
                    <Setter.Value>
                      <RadialGradientBrush>
                        <RadialGradientBrush.GradientStops>
                          <GradientStopCollection>
                            <GradientStop Color="#FF000000" Offset="1"/>
                            <GradientStop Color="#FFEE0000" Offset="0.8"/>
                            <GradientStop Color="#FF000000" Offset="0"/>
                          </GradientStopCollection>
                        </RadialGradientBrush.GradientStops>
                      </RadialGradientBrush>
                    </Setter.Value>
                  </Setter>
                </Trigger>
              </ControlTemplate.Triggers>
            </ControlTemplate>

          </Setter.Value>
        </Setter>
      </Style>
      <Style x:Key="AppMaximizeButtonStyle" TargetType="{x:Type Button}" BasedOn="{x:Null}">
        <Setter Property="Width" Value="14" />
        <Setter Property="Height" Value="14" />
        <Setter Property="Margin" Value="0,4,0,0" />
        <Setter Property="Template">
          <Setter.Value>
            <ControlTemplate TargetType="{x:Type Button}">
              <Grid RenderTransformOrigin="0.5,0.5">
                <Ellipse Opacity="1" x:Name="ClsBtnBase" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
                  <Ellipse.Fill>
                    <RadialGradientBrush>
                      <RadialGradientBrush.GradientStops>
                        <GradientStopCollection>
                          <GradientStop Color="#FF000000" Offset="1"/>
                          <GradientStop Color="#FF000099" Offset="0.8"/>
                          <GradientStop Color="#FF000000" Offset="0"/>
                        </GradientStopCollection>
                      </RadialGradientBrush.GradientStops>
                    </RadialGradientBrush>
                  </Ellipse.Fill>
                </Ellipse>
                <Rectangle Fill="Transparent" Stroke="Gray" StrokeThickness="1" Margin="3,3,3,3"/>
                <Rectangle Fill="Gray" Stroke="Gray" Height="3" StrokeThickness="1"  Margin="3,3,3,3" VerticalAlignment="Top"/>
                <Ellipse Opacity="0.6" Canvas.Left="0" Canvas.Top="0" x:Name="ClsBtnHighlight" RenderTransformOrigin="0.5,0.5">
                  <Ellipse.Fill>
                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                      <LinearGradientBrush.GradientStops>
                        <GradientStopCollection>
                          <GradientStop Color="#AAFFFFFF" Offset="0"/>
                          <GradientStop Color="#11FFFFFF" Offset="1"/>
                        </GradientStopCollection>
                      </LinearGradientBrush.GradientStops>
                    </LinearGradientBrush>
                  </Ellipse.Fill>
                </Ellipse>
              </Grid>
              <ControlTemplate.Triggers>
                <Trigger Property="IsMouseOver" Value="true">
                  <Setter TargetName="ClsBtnBase" Property="Fill">
                    <Setter.Value>
                      <RadialGradientBrush>
                        <RadialGradientBrush.GradientStops>
                          <GradientStopCollection>
                            <GradientStop Color="#FF000000" Offset="1"/>
                            <GradientStop Color="#FF0000EE" Offset="0.8"/>
                            <GradientStop Color="#FF000000" Offset="0"/>
                          </GradientStopCollection>
                        </RadialGradientBrush.GradientStops>
                      </RadialGradientBrush>
                    </Setter.Value>
                  </Setter>
                </Trigger>
              </ControlTemplate.Triggers>
            </ControlTemplate>

          </Setter.Value>
        </Setter>
      </Style>

      <Style x:Key="AppMinimizeButtonStyle" TargetType="{x:Type Button}" BasedOn="{x:Null}">
        <Setter Property="Width" Value="14" />
        <Setter Property="Height" Value="14" />
        <Setter Property="Margin" Value="0,4,0,0" />
        <Setter Property="Template">
          <Setter.Value>
            <ControlTemplate TargetType="{x:Type Button}">
              <Grid RenderTransformOrigin="0.5,0.5">
                <Ellipse Opacity="1" x:Name="ClsBtnBase" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
                  <Ellipse.Fill>
                    <RadialGradientBrush>
                      <RadialGradientBrush.GradientStops>
                        <GradientStopCollection>
                          <GradientStop Color="#FF000000" Offset="1"/>
                          <GradientStop Color="#FF000099" Offset="0.8"/>
                          <GradientStop Color="#FF000000" Offset="0"/>
                        </GradientStopCollection>
                      </RadialGradientBrush.GradientStops>
                    </RadialGradientBrush>
                  </Ellipse.Fill>
                </Ellipse>
                <Rectangle Fill="Gray" Stroke="Gray" Height="3"  Width="7" StrokeThickness="1"  Margin="3,3,3,3" VerticalAlignment="Bottom" HorizontalAlignment="Left"/>
                <Ellipse Opacity="0.6" Canvas.Left="0" Canvas.Top="0" x:Name="ClsBtnHighlight" RenderTransformOrigin="0.5,0.5">
                  <Ellipse.Fill>
                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                      <LinearGradientBrush.GradientStops>
                        <GradientStopCollection>
                          <GradientStop Color="#AAFFFFFF" Offset="0"/>
                          <GradientStop Color="#11FFFFFF" Offset="1"/>
                        </GradientStopCollection>
                      </LinearGradientBrush.GradientStops>
                    </LinearGradientBrush>
                  </Ellipse.Fill>
                </Ellipse>
              </Grid>
              <ControlTemplate.Triggers>
                <Trigger Property="IsMouseOver" Value="true">
                  <Setter TargetName="ClsBtnBase" Property="Fill">
                    <Setter.Value>
                      <RadialGradientBrush>
                        <RadialGradientBrush.GradientStops>
                          <GradientStopCollection>
                            <GradientStop Color="#FF000000" Offset="1"/>
                            <GradientStop Color="#FF0000EE" Offset="0.8"/>
                            <GradientStop Color="#FF000000" Offset="0"/>
                          </GradientStopCollection>
                        </RadialGradientBrush.GradientStops>
                      </RadialGradientBrush>
                    </Setter.Value>
                  </Setter>
                </Trigger>
              </ControlTemplate.Triggers>
            </ControlTemplate>

          </Setter.Value>
        </Setter>
      </Style>
      <LinearGradientBrush x:Key="WindowBackground" StartPoint="1,1" EndPoint="0,0">
        <GradientStop Color="sc#1, 0.192563415, 0.309925854, 1" Offset="0.016025641025641024"/>
        <GradientStop Color="sc#1, 0.2090404, 0.285897851, 1" Offset="1"/>
        <GradientStop Color="sc#1, 0, 0.0690932348, 0.5649899" Offset="0.51602564102564108"/>
      </LinearGradientBrush>
      <Style TargetType="{x:Type Button}">
        <Setter Property="FocusVisualStyle" Value="{x:Null}" />
        <Setter Property="Background">
          <Setter.Value>
            <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
              <GradientStop Offset="1" Color="#FFe0f0f0" />
              <GradientStop Offset="0" Color="#FFb0d8e8" />
            </LinearGradientBrush>
          </Setter.Value>
        </Setter>
        <Setter Property="Foreground" Value="#FF001563" />
        <Setter Property="Content" Value="3" />
        <Setter Property="Margin" Value="1" />
        <Setter Property="Template">
          <Setter.Value>
            <ControlTemplate TargetType="{x:Type Button}">
              <Grid Width="Auto" Height="25" VerticalAlignment="Top" Grid.Column="1" MinWidth="0" RenderTransformOrigin="0.5,0.5">
                <Grid.ColumnDefinitions>
                  <ColumnDefinition/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                  <RowDefinition/>
                </Grid.RowDefinitions>
                <Rectangle Stroke="#FF4890c8"/>
                <Rectangle x:Name="backRect" Margin="2">
                  <Rectangle.Fill>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                      <GradientStop Offset="0" Color="#FFe0f0f0" />
                      <GradientStop Offset="0.8" Color="#FFb0d8e8" />
                      <GradientStop Offset="1" Color="#FFe0f0f0" />
                    </LinearGradientBrush>
                  </Rectangle.Fill>
                </Rectangle>
                <ContentPresenter x:Name="GelButtonContent" VerticalAlignment="center" HorizontalAlignment="center" Content="{TemplateBinding  Content}" 
                                  Margin="5,0,5,0"/>
              </Grid>
              <ControlTemplate.Triggers>
                <Trigger Property="IsEnabled" Value="False">
                  <Setter TargetName="backRect" Property="Visibility" Value="Collapsed" />
                </Trigger>
                <Trigger Property="IsMouseOver" Value="true">
                  <Setter Property="Rectangle.Fill" TargetName="backRect">
                    <Setter.Value>
                      <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Offset="0" Color="#FFe0f0f0" />
                        <GradientStop Offset="0.8" Color="#66275EB0" />
                        <GradientStop Offset="1" Color="#FFe0f0f0" />
                      </LinearGradientBrush>
                    </Setter.Value>
                  </Setter>
                </Trigger>
              </ControlTemplate.Triggers>
            </ControlTemplate>
          </Setter.Value>
        </Setter>
        <Style.Triggers>
          <Trigger Property="IsEnabled" Value="False">
            <Setter Property="Background" Value="#FFe0f0f0" />
            <Setter Property="Foreground" Value="DarkGray" />
          </Trigger>
        </Style.Triggers>
      </Style>
    </ResourceDictionary>


  </Application.Resources>
</Application>
